﻿using System;

namespace show
{
    class Program
    {
        static void Main(string[] args)
        {
            ComputerMajor computerMajor = new ComputerMajor();
            ICompute compute = computerMajor; 
           compute.Id = 3;
            compute.Name = "李明";
            computerMajor.English = 80;
            computerMajor.Programming = 90;
            computerMajor.Database = 85;
            Console.WriteLine("学号：" + compute.Id);
            Console.WriteLine("姓名：" + compute.Name);
            Console.WriteLine("成绩信息如下：");
            compute.Total();
            compute.Avg(); }

        }
    }

